VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf Namespace / PdfTextEncodingObfuscator Class / Obfuscate Methods / Obfuscate(PdfPage[]) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    Obfuscate(PdfPage[]) Method (PdfTextEncodingObfuscator)
    In This Topic
    Obfuscates encodings of all fonts containing within the specified PDF pages.
    Syntax
    'Declaration
    
    Public Overloads Sub Obfuscate( _
    ByVal ParamArray pages
    The PDF pages.
    () As Vintasoft.Imaging.Pdf.Tree.PdfPage _
    )
    public void Obfuscate(
    params Vintasoft.Imaging.Pdf.Tree.PdfPage[] pages
    )
    public: void Obfuscate(
    params Vintasoft.Imaging.Pdf.Tree.PdfPage*[]* pages
    )
    public:
    void Obfuscate(
    ... array<Vintasoft.Imaging.Pdf.Tree.PdfPage^>^ pages
    )

    Parameters

    pages
    The PDF pages.
    Exceptions
    ExceptionDescription
    Thrown if pages is null.
    Thrown if pages belong to different PDF documents.
    Thrown if pages contain external fonts.
    Thrown if pages contain fonts that are not supported for obfuscating.
    Remarks

    Currently this method does not support obfuscation of Type3 fonts that use other fonts as resources or that are used as resources.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also